package appointmentManagement;

import entity.Appointment;
import entity.Patient;
import entity.Staff;
import java.sql.Timestamp;
import java.util.List;
import javax.ejb.Remote;


@Remote
public interface AppointmentSessionRemote {

    Long addNewAppointment(String patientName, String citizenship, String patientIdentification, String appointmentDepartment, Timestamp appointmentTime, String patientContact, Patient patient, Staff doctor) throws AppointmentOverwhelmedException;

    void deleteAppointment(Long appointmentId);

    List<Appointment> getAllAppointments();

    Appointment getIdAppointment(Long appointmentId);

    void updateAppointment(Long appointmentId, String patientName, String citizenship, String patientIdentification, String appointmentDepartment, Timestamp appointmentTime, String patientContact, Staff doctor);

}
